package com.ruoyi.kenuo.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 【请填写功能名称】对象 kernel_user_equ
 * 
 * @author zhanghongbiao
 * @date 2022-10-17
 */
public class KernelUserEqu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 设备 sn码 */
    @Excel(name = "设备 sn码")
    private String snCode;

    /** 用户的id */
    @Excel(name = "用户的id")
    private String userId;

    /** 备用字段1 绑定人的手机号 */
    @Excel(name = "手机号")
    private String remarkOne;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String remarkTwo;

    private String mac;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date nearTime;
    private String servial;
    private String electic;
    private String equipmentName;
    private String version;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setSnCode(String snCode) 
    {
        this.snCode = snCode;
    }

    public String getSnCode() 
    {
        return snCode;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setRemarkOne(String remarkOne) 
    {
        this.remarkOne = remarkOne;
    }

    public String getRemarkOne() 
    {
        return remarkOne;
    }
    public void setRemarkTwo(String remarkTwo) 
    {
        this.remarkTwo = remarkTwo;
    }

    public String getRemarkTwo() 
    {
        return remarkTwo;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public Date getNearTime() {
        return nearTime;
    }

    public void setNearTime(Date nearTime) {
        this.nearTime = nearTime;
    }

    public String getServial() {
        return servial;
    }

    public void setServial(String servial) {
        this.servial = servial;
    }

    public String getElectic() {
        return electic;
    }

    public void setElectic(String electic) {
        this.electic = electic;
    }

    public String getEquipmentName() {
        return equipmentName;
    }

    public void setEquipmentName(String equipmentName) {
        this.equipmentName = equipmentName;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("snCode", getSnCode())
            .append("userId", getUserId())
            .append("remarkOne", getRemarkOne())
            .append("remarkTwo", getRemarkTwo())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
